package cn.wolfcode.service;

import cn.wolfcode.domain.RolePermission;

import java.util.List;

public interface IRolePermissionService {
    int insert(RolePermission record);

    List<RolePermission> selectAll();

    void deleteByRoleId(Long id);

    void deleteByPermissionId(Long id);
}